package u.can.i.up.db.postgresql;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface AppInfoDAO {

	public Integer selectAppInfo(String packageName) throws Exception;

	public void updateAppInfo(@Param("packageName") String packageName, @Param("downloadNumber") Integer downloadNumber,
			@Param("app_category_id") Integer app_category_id) throws Exception;

	public void insertAppInfo(@Param("packageName") String packageName, @Param("downloadNumber") Integer downloadNumber,
			@Param("app_category_id") Integer app_category_id) throws Exception;

	public List<String> getAppList() throws Exception;
}
